package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName RechargeShqcLog
 * @Author ruixule
 * @Date 2020/1/10 17:34
 */
@Data
@Table(value = "recharge_shqc_log",keys = "RECHARGE_ID")
public class RechargeShqcLogDo {

    @Column("RECHARGE_ID")
    private String rechargeId;
//    管理给用户充值的地址
    @Column("ADDRESS_TO")
    private String AddressTo;
//    用户给管理员线下货币类型，非USDT可视为现金充值  1000-现金  2000-USDT
    @Column("CURRENCY_TYPE")
    private String currencyType;
//    充值SHQC数量
    @Column("SHQC_AMOUNT")
    private BigDecimal shqcAmount;
    @Column("OPER_USER")
    private String operUser;
    @Column("OPER_TIME")
    private Date operTime;

    public RechargeShqcLogDo(String rechargeId, String addressTo, String currencyType, BigDecimal shqcAmount,
                             String operUser, Date operTime) {
        this.rechargeId = rechargeId;
        AddressTo = addressTo;
        this.currencyType = currencyType;
        this.shqcAmount = shqcAmount;
        this.operUser = operUser;
        this.operTime = operTime;
    }

    public RechargeShqcLogDo(){}
}
